<template>
<div>
  <common-head :title="$route.query.name"></common-head>
  <div class="site-intaller">
    <video  playsinline="true" x5-video-player-type="h5" x5-video-orientation="h5" width="100%" controls="controls">
      <source :src="src" type="video/mp4">
    </video>
  </div>
</div>
</template>
<script>
import CommonHead from 'components/Header'
export default {
  name: 'association',
  data () {
    return {
      src: ''
    }
  },
  components: {
    CommonHead
  },
  computed: {
  },
  created () {
    this.src = `${process.env.VUE_APP_SRC}${this.$route.query.v}`
    // this.queryBimVideo()
  },
  methods: {
    queryBimVideo () {
      this.$http.queryUploadObjs({}, 'YUNZHIBO').then(res => {
        if (res.data && res.data.length) {
          // this.src = `${process.env.VUE_APP_SRC}${res.data[0].down_url}`
        }
      })
    }
  }
}
</script>
<style lang="scss">
</style>
